package com.efast.dmom.aps.service;

import java.util.List;

import com.efast.dmom.aps.bean.ResultBean;
import com.efast.dmom.aps.bean.WorkCenter;

public interface WorkCenterService {
	
	public ResultBean save(WorkCenter workCenter);

	public ResultBean update(WorkCenter workCenter);

	public ResultBean delete(WorkCenter WorkCenter);

	public WorkCenter getById(long id);

	public WorkCenter getByName(String name);

	public WorkCenter getByCode(String workCenterCode);

	public List<WorkCenter> getAllWorkCenter();

}
